﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class ZhanChe
    {
        private string pingpai;
        private string leixing;
        public string Pingpai
        {
            get { return this.pingpai; }
            set { this.pingpai = value; }
        }
        public string Leixing
        {
            get { return this.leixing; }
            set { this.leixing = value; }
        }
        public ZhanChe(){}
        public ZhanChe(string pingpai,string leixing)
        {
            this.pingpai = pingpai;
            this.leixing = leixing;
        }
        public void Run()
        {
            Console.WriteLine("一辆{0}品牌的,{1}战车在马路上疾驰",this.pingpai,this.leixing);
        }
    }
    
}
